package cn.bx.bid.ctrl;


public class Rtn {
    private boolean msg;
    private Object obj;

    public boolean isMsg() {
        return msg;
    }

    public void setMsg(boolean msg) {
        this.msg = msg;
    }

    public Object getObj() {
        return obj;
    }

    public void setObj(Object obj) {
        this.obj = obj;
    }

    private Rtn() {
    }

    public static Rtn getRtn(boolean r, Object obj) {
        Rtn rtn = new Rtn();
        rtn.setMsg(r);
        rtn.setObj(obj);
        return rtn;
    }
}
